import request from '../util/axios'

// 获取用户机构权限
export const getUserJurisdiction = (userId) => request({
  url: `/yuyi-user-boot/api/sys/sysOrganizationScope/userData/${userId}`
})
// 获取角色机构权限
export const getRoleJurisdiction = (roleId) => request({
  url: `/yuyi-user-boot/api/sys/sysOrganizationScope/roleData/${roleId}`
})
